package com.csu.petstore.service;

import com.csu.petstore.pojo.Cart;
import com.csu.petstore.pojo.CartItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CartService {
    public Cart getCart(String userId);
    public Cart removeItemFromCart(Cart cart , String itemId , String userId);
    public Cart addItemToCart(String itemId , String userId);
    public void updateQuantity(String itemId , int quantity , String userId);
}
